.euiFieldPassword {
  @include euiFormControlStyle;
  @include euiFormControlWithIcon($isIconOptional: false);
  @include euiFormControlIsLoading;

  &.euiFieldPassword--compressed {
    @include euiFormControlWithIcon($isIconOptional: false, $side: 'left', $compressed: true);
  }
}

// sass-lint:disable-block no-vendor-prefixes
// Only remove Edge's internal reveal button if we're providing a custom one
.euiFieldPassword--withToggle::-ms-reveal {
  display: none;
}
